package com.hichina.client.util;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: zigang.wang
 * Date: 12-5-29
 * Time: 上午10:57
 * To change this template use File | Settings | File Templates.
 */
public class PageList<T> {
    private int offset;
    private int length;
    private long totalSize;
    private List<T> elements;

    public PageList() {
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }

    public List<T> getElements() {
        return elements;
    }

    public void setElements(List<T> elements) {
        this.elements = elements;
    }
}
